package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.supervision.dto.create.SpChangePlaceCreateDTO;
import com.engine4cloud.tdf.supervision.dto.query.SpChangePlaceQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.SpChangePlaceResult;
import com.engine4cloud.tdf.supervision.dto.update.SpChangePlaceUpdateDTO;
import com.engine4cloud.tdf.supervision.dto.update.SpNormalPreActionUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.SpChangePlaceEntity;

public interface SpChangePlaceService extends IService<SpChangePlaceEntity> {

    Boolean create(SpChangePlaceCreateDTO dto);

    Boolean update(SpChangePlaceUpdateDTO dto);

    SpChangePlaceResult getById(Long id);

    PageInfo<SpChangePlaceResult> pageList(SpChangePlaceQueryDTO dto);

    SpChangePlaceResult getByBatch(String batch);

    void changeAction(SpNormalPreActionUpdateDTO dto);
}